home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / global / toolbar.css < prev    next >
Cascading Style Sheet File  |  2010-02-09  |  5KB  |  196 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is Mozilla Communicator client code, released
  15.  * March 31, 1998.
  16.  *
  17.  * The Initial Developer of the Original Code is
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998-2001
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *   Joe Hewitt (hewitt@netscape.com)
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  27.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the MPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the MPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. /* ===== toolbar.css ====================================================
  40.   == Styles used by XUL toolbar-related elements.
  41.   ======================================================================= */
  42.  
  43. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  44.  
  45. /* ::::: toolbox ::::: */
  46.  
  47.  
  48. /* ::::: toolbar & menubar ::::: */ 
  49.  
  50.  
  51. toolbar[mode="icons"] .toolbarbutton-text {
  52.   display: none;
  53. }
  54. toolbar {  
  55.   min-width: 1px; 
  56.   border:none;
  57.   color: #000000;
  58.  
  59.  
  60. toolbar[type="menubar"], menubar {  
  61. padding-top:3px;  
  62. min-width: 0px; 
  63.   border: 0px !important;
  64.   background-color: transparent;
  65.   color: #000000;
  66. }
  67.   
  68. menubar > .toolbar-holder { 
  69.   border-top: 0px solid #F5F5F5;
  70.   border-right: 0px solid #929292;
  71.   border-bottom: 0px solid #C0C0C0;
  72.   border-left: 0px solid #F5F5F5;
  73. }
  74. menubar { 
  75.  
  76. border: 0px ;
  77. }
  78.  
  79.  
  80. toolbar[mode="text"] .toolbarbutton-icon {
  81.   display: none;
  82. }
  83.  
  84. toolbar[mode="text"] .toolbarbutton-text {
  85.   padding: 0 !important;
  86.   margin: 3px 5px !important;
  87. color: #000000 !important;
  88. }
  89.  
  90. /* ::::: toolbar decorations ::::: */
  91.  
  92. toolbarseparator {  
  93.   margin: 0px 1px;
  94. /*  border-right: 1px solid #E6E6E6;
  95.   border-left: 1px solid #A1A1A1;*/
  96. background-image: url("chrome://browser/skin/icons/separator.png");
  97. background-position:center center;
  98. background-repeat:no-repeat;  
  99. width: 3px;
  100. }
  101. /* 
  102. toolbarspacer {
  103.   width: 15px;
  104. }
  105. */
  106.  
  107. /* ::::: toolbarpaletteitem ::::: */
  108.  
  109. toolbarpaletteitem {
  110.   cursor: -moz-grab;
  111. }
  112.  
  113. .toolbarpaletteitem-box[type="spacer"],
  114. .toolbarpaletteitem-box[type="spring"] {  
  115.   border: 0px solid #808080;
  116. }
  117.  
  118. toolbarpaletteitem[place="toolbar"] {
  119.   margin-left: -2px;
  120.   margin-right: -2px;
  121.   border-left: 2px solid transparent;
  122.   border-right: 2px solid transparent;
  123. }
  124.  
  125. toolbarpaletteitem[place="toolbar"] > toolbarspacer {
  126.   width: 11px;
  127. }
  128.  
  129. .toolbarpaletteitem-box[type="spacer"][place="toolbar"],
  130. .toolbarpaletteitem-box[type="spring"][place="toolbar"] { 
  131.   margin: 2px 2px 2px 0;
  132. }
  133.  
  134.  
  135. .toolbarpaletteitem-box[type="separator"][place="palette"] {
  136.   width: 2px;
  137.   height: 50px;
  138. }
  139.  
  140.  
  141. .toolbarpaletteitem-box[type="spacer"][place="palette"],
  142. .toolbarpaletteitem-box[type="spring"][place="palette"] { 
  143.   margin-bottom: 0px;
  144.   width: 50px;
  145.   height: 50px;
  146. }
  147.  
  148. /* 
  149. .toolbarpaletteitem-box[type="spring"][place="palette"] {
  150.   background: url("chrome://global/skin/toolbar/spring.png") no-repeat center;
  151. }
  152.  
  153. */
  154. .toolbarpaletteitem-box[type="spring"][place="palette"] { 
  155.   background: url("chrome://global/skin/toolbar/spacer-mid.gif") no-repeat center;
  156. }
  157.  
  158. /* ..... drag and drop feedback ..... */
  159.  
  160. toolbarpaletteitem[dragover="left"] {
  161.   border-left-color: #000000;
  162. }
  163.  
  164. toolbarpaletteitem[dragover="right"] {
  165.   border-right-color: #000000;
  166. }
  167.  
  168.  
  169. textbox {
  170. margin:5px;
  171. min-height:22px;
  172. padding:0px;
  173. padding-right:5px;
  174. border: 3px solid !important;
  175. -moz-border-radius: 4px;
  176. background-color:#ffffff;
  177. -moz-border-top-colors:#a8a8a8 #dadada #fcfcfc !important;
  178. -moz-border-bottom-colors:#d9d8d8 transparent transparent !important;
  179. -moz-border-left-colors:#d3d3d3 #fafafa transparent !important;
  180. -moz-border-right-colors:#d4d4d4 #fafafa transparent !important;
  181. }
  182.  
  183. textbox:hover {
  184. -moz-border-top-colors:#79b7fc #aac9ec #e8f2fd !important;
  185. -moz-border-bottom-colors:#7bb8fd #bddcff #eaf4ff !important;
  186. -moz-border-left-colors:#7bb9fd #bad9fc #eaf4ff !important;
  187. -moz-border-right-colors:#7cb9fe #bad9fc #eaf4ff !important;
  188. }
  189.  
  190. textbox[focused="true"] {
  191. -moz-border-top-colors:#3076c6 #85a8d1 #dde7f5 !important;
  192. -moz-border-bottom-colors:#3278c7 #98bbe4 #dfe9f7 !important;
  193. -moz-border-left-colors:#3278c7 #95b8e1 #dfe9f7 !important;
  194. -moz-border-right-colors:#3379c8 #95b8e1 #dfe9f7 !important;
  195. }